package com.mall.framework.security.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * 用户详情服务接口
 */
public interface MallUserDetailsService extends UserDetailsService {
    /**
     * 根据用户名加载用户
     *
     * @param username 用户名
     * @return 用户详情
     */
    @Override
    UserDetails loadUserByUsername(String username);
} 